package com.pn.taikao.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Map;

/**
 * 组卷规则DTO
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PaperRule {
    /**
     * 题型配置：{ "single": { "count": 5, "score": 5.0 }, "multiple": { "count": 3, "score": 10.0 }, ... }
     */
    private Map<String, TypeRule> typeRules;
    
    /**
     * 难度分布：{ "easy": 30, "medium": 50, "hard": 20 } （百分比）
     */
    private Map<String, Integer> difficultyDistribution;
    
    /**
     * 总题数
     */
    private Integer totalQuestions;
    
    /**
     * 总分
     */
    private Double totalScore;
}



